package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;

/**
 * @author Cc
 * @version 1.0
 */

public interface DtsAdminService {

    /**
     * 根据用户名称去查询用户集合
     * @param username
     * @return
     */
    public List<DtsAdmin> findAdmin(String username);

    IPage<DtsAdmin> findListByQuery(String username, String sort, String order, Integer page, Integer limit);

    DtsAdmin create(DtsAdmin admin);


    int updateById(DtsAdmin admin);

    void deleteById(Integer anotherAdminId);
}
